package com.teemor.blog.service;

import com.teemor.blog.bean.condition.TbSubscribeCondition;
import com.teemor.blog.bean.entity.TbSubscribe;
import java.util.List;

/**
 * @author: zhoulk
 * @Description: 原子服务
 * @date: 2020/03/24 17:33:32
 */
public interface ISubscribeService {
     /** 
   * @Function: com.teemor.blog.service.ISubscribeService.countSubscribe
   * @Description: 数量查询接口
   * @param: condition
   * @return: int
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/24 17:33:32
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/24 17:33:32     zhoulk           v1.0.0             修改原因
   *
   */
    int countSubscribe(TbSubscribeCondition condition);

     /** 
   * @Function: com.teemor.blog.service.ISubscribeService.qrySubscribes
   * @Description: 列表查询接口
   * @param: condition
   * @return: List<TbSubscribe>
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/24 17:33:32
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/24 17:33:32     zhoulk           v1.0.0             修改原因
   *
   */
    List<TbSubscribe> qrySubscribes(TbSubscribeCondition condition);

     /** 
   * @Function: com.teemor.blog.service.ISubscribeService.qrySubscribeById
   * @Description: 根据主键查询
   * @param: id
   * @return: TbSubscribe
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/24 17:33:32
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/24 17:33:32     zhoulk           v1.0.0             修改原因
   *
   */
    TbSubscribe qrySubscribeById(Integer id);

     /** 
   * @Function: com.teemor.blog.service.ISubscribeService.addSubscribe
   * @Description: 新增接口
   * @param: inParam
   * @return: int
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/24 17:33:32
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/24 17:33:32     zhoulk           v1.0.0             修改原因
   *
   */
    int addSubscribe(TbSubscribe inParam);

     /** 
   * @Function: com.teemor.blog.service.ISubscribeService.updSubscribeById
   * @Description: 根据Id更新接口
   * @param: inParam
   * @return: int
   * @version: v1.0.0
   * @author: zhoulk
   * @date: 2020/03/24 17:33:32
   *
   * Modification History:
   * Date         author          Version            Description
   *------------------------------------------------------*
   * 2020/03/24 17:33:32     zhoulk           v1.0.0             修改原因
   *
   */
    int updSubscribeById(TbSubscribe inParam);
}